// 5.11 The for statement

#include <stdio.h>
int main()
{
#define TABLESIZE 10
    int num;

    printf("NUMBER SQUARE CUBE\n");
    printf("______ ______ ____\n");
    num = 1;

    for (num = 1; num <= TABLESIZE; num++)
        printf("%3d %7d %6d\n", num, num * num, num * num * num);

    return 0;
}